* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

/* .body {
    background-color: #EDEDED;
} */

.header {
    background-color: #E7E7E7;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: auto;
}

.header-left {
    color: #333;
    font-size: 15px;
    margin-left: 50px;
    padding: 10px;

}

.header-right {
    display: flex;
    gap: 10px;
    margin-right: 100px;
}

.header-right a {
    text-decoration: none;
    color: #333;
    
}

/* 导航 */
.header2 {
    display: flex;
    background-color: #ffffff;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    margin-left: 50px;
}

.logo img {
    height: 70px;
    margin-right: 10px;
}
.logo span {
font-size: 30px;
color: black;
font-weight: 700;
}
.logo p{
    font-size: 15px;
    color: gray;
    font-weight: 500;
}
.nav {
    display: flex;
    margin-right: 50px;
    gap: 30px;
}

.nav a {
    text-decoration: none;
    color: #333;
    font-weight: 545;
}


/* 轮播 */
.carousel {
 /* height: 500px; */
 /* display: flex; */
 justify-content: center;
 align-items: center;
}
.el-carousel__item{
    height: 100%;
}
.el-carousel__item img {
    width: 100%;
    height: auto;
    /* z-index: 1; */
    /* object-fit: cover; */
}
/* .carousel img {
    width: 100%;
    height: auto;
}

.el-carousel__item h3 {
    color: #475669;
    font-size: 18px;
    opacity: 0.75;
    line-height: 20px;
    margin: 0;
    padding: 10px 0;
    height: 100%;
} */

.el-carousel__item:nth-child(2n) {
    background-color: #99a9bf;
}

.el-carousel__item:nth-child(2n+1) {
    background-color: #d3dce6;
}

/* 搜索 */
.search {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    /* max-width: 1200px; */
    padding: 10px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid #ccc;
    padding-left: 50px;
    padding-right: 50px;
}

.keywords {
    flex: 1;
    color: #333;
    font-size: 14px;
}

.search-bar {
    display: flex;
    align-items: center;
    background-color: #e5e5e5;
    border-radius: 20px;
    padding: 5px;
}

.search-input {
    border: none;
    background: none;
    outline: none;
    padding: 5px;
    font-size: 13px;
    color: #333;
    /* background-color: transparent; */
}

.search-button {
    background: url('../img/10046.jpg') no-repeat center;
    border: none;
    width: 25px;
    height: 25px;
    /* cursor: pointer; */
    border-radius: 60px;
    background-color: transparent;
}

/* 技术创新 */
.container {
    /* width: 80%; */
    margin: 50px auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.section {
    width: 33%;
    padding: 30px;
    text-align: center;
    border-right: 1px solid #ddd;
    box-shadow: 0 10px 6px -6px rgba(0, 0, 0, 0.2);
    /* margin-bottom: 100px; */
}

.section:last-child {
    border-right: none;
}

.section h2 {
    color: #004d99;
    font-size: 30px;
    margin-bottom: 20px;
}

.section p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

/* 工控机中心 */
.title {
    text-align: center;
    margin-top: 50px;
    font-size: 40px;
}

span {
    color: #004d99;
}
.small-title{
    color: #a3a1a1;
    text-align: center;
    font-size: 15px;
    font-weight: 350;
}
.container2 {
    width: 100%;
    margin: 50px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tabs {
    width: 50%;
    display: flex;
    justify-content: space-evenly;
    margin-bottom: 20px;
}

.tab-link {
    padding: 10px 20px;
    border: 1px solid #ddd;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.tab-link.active {
    background-color: #004d99;
    color: white;
    border-color: #004d99;
}

.tab-content {
    display: none;
    padding: 20px;
}

.tab-content.active {
    display: block;
}

.content-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to bottom right, rgb(255, 255, 255), rgb(216, 216, 216));
}

.content-wrapper img {
    max-width: 45%;
    height: auto;
    margin-right: 20px;
}

.text-content {
    max-width: 50%;
}

/* 查看更多按钮样式 */
.view-more {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid #004d99;
    border-radius: 20px;
    color: #004d99;
    text-decoration: none;
    transition: background-color 0.3s;
}

.view-more:hover {
    background-color: #004d99;
    color: white;
}

.con {
    margin: 60px;

}

.con h2 {
    color: #004D99;
    padding-bottom: 30px;
}

.con p {
    padding-bottom: 30px;
}

.con a {
    background-color: white;
}

.content-wrapper2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 400px;
    background: url('../img/10047.jpg');
}

.content-wrapper2 img {
    max-width: 80%;
    border: 1px solid #ddd;

}

.content-wrapper2 p {
    text-align: center;
    max-width: 80%;
    margin-top: 10px;
}


/* 解决方案 */
.row-bg {
    margin-top: 40px;
}

.grid-content img {
    max-width: 100%;
}
.about_us{
    position: relative;
    display: inline-block;
    margin-top: 25px;
}
.image-container {
    position: relative; /* 相对定位 */
    display: flex; /* 使用Flexbox布局 */
    align-items: center;
  }
.bottom-image{
    max-width: 100%;
    display: block;
}
.shadow-overlay{
    position: absolute; /* 绝对定位 */
    top: 0; /* 从顶部开始 */
    left: 0; /* 从左侧开始 */
    width: 50%; /* 覆盖图片的一半宽度 */
    height: 100%; /* 高度与图片相同 */ 
    background-color: #004D99;
    opacity: 0.8; /* 透明度 */
    /* z-index: -1;  */
}
.text-overlay {
    position: absolute;
    top:50%;
    left: 10%;
    transform: translateY(-50%); /* 将文本垂直居中 */
    text-align: left;
    word-wrap: break-word; /* 允许长单词或URL地址换行到下一行 */
    white-space: normal; /* 允许文本自动换行 */
    max-width: 25%; /* 设置最大宽度为容器的一半 */
    padding: 20px; /* 添加内边距 */
}
.botton-overlay{
    position: absolute;
    top: 75%;
    left: 14%;
    transform: translate(-50%);
    text-align: left;
    word-wrap: break-word;
    white-space: normal;
    max-width: 25%;
    padding: 10px;
    background-color:#004D99;
    opacity: 0.6; /* 透明度 */
    border: white 1px solid;
    border-radius: 40%;
    color: white;
}
.text-overlay h1 {
    color: white;
    font-size: 20px;
    margin-bottom: 5px;
    font-weight: 400;
}
.text-overlay h2{
    color:white;
    font-size: 28px;
    margin-bottom: 15px;
    font-weight: 600;
}
.text-overlay h3 {
    color: white;
    font-size: 28px;
    margin-bottom: 15px;
    font-weight: 600;
}
.text-overlay p {
    color: white;
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 10px;
}

/* 服务领域 */
.image-text-container {
    display: flex; /* 启用Flexbox布局 */
    justify-content: space-between; /* 图片之间均匀分布 */
    gap: 10px; /* 图片之间的间距，可以根据需要调整 */
    padding: 80px; /* 添加内边距 */
  }
  
  .image-text-item {
    text-align: center; /* 文字居中对齐 */
    justify-items: center;
  }
  
  .image-text-item img {
    width: 100%; /* 设置图片宽度，可以根据需要调整 */
    height: auto; /* 保持图片比例 */
  }
  .image-text-item h1{
    font-size: 25px;  
    margin-top: 15px;
}
  .blue1{
    width: 80px;
    height: 5px;
    background-color: rgb(103, 103, 245);
    border-radius: 5px;
    margin-top: 15px;
    margin-bottom: 15px;
  }
  .image-text-item p{
    font-size: 14px;
    line-height: 24px;
    text-align: left;
  }
  .right-button{
    width: 200px;
    height: 50px;
    background-color: red;
    border-radius: 30px;
    margin-top: 200px;
    margin-right: 20px;
  }
  .left-button{
    width: 200px;
    height: 50px;
    background-color: rgb(48, 13, 94);
    border-radius: 30px;
    margin-top: 200px;
    margin-left: 20px;
  }
  /* 服务领域下面的图片 */
  .img_title{
    font-size: 40px;
    color: #004D99;
    text-align: center;
  }
  .bottom_img_area{
    text-align: center;
    position: relative;
  }
  .bottom_img{
    /* position: absolute; */
    width: 85%;
    height: auto;
    margin-top: 20px;
  }
  .bottom_img_title{
    position: absolute;
    width: 70%;
    height: 200px;
    left: 15%;
    bottom: 5%;
}
  .words-row1 {
    display: flex; /* 启用Flexbox布局 */
    justify-content: space-around; /* 词语之间均匀分布 */
  }
  .words-row1 span{
    font-size: 20px;
    color: black;
  }
  .half{
    display: flex; /* 启用Flexbox布局 */
    justify-content: space-between; /* 词语之间均匀分布 */
    width: 100%;
    margin-top: 30px;
  }
  .half span{
    flex: 7;
    margin-right: 10px;
    text-align: left;
    margin-left: 55px;
    color: black;
  }
  .learn-more-button{
    flex: 1;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 20px;
    background-color: #004D99;
    color: white;
    border: none;
  }


/* 新闻动态 */
.journalism{
    width: 100%;
    height: 800px;
    background-color: #F4F4F4;
}
.journalism h1{
    padding-top: 50px;
    /* text-align: center; */
}
.journalism-con{
    display: flex;
    width: 100%;
    height: 600px;
    margin: 0 auto;
    margin-top: 20px;
}
.journalism-con-A{
    width: 30%;
    height: 455px;
    background-color: rgb(255, 255, 255);
    /* padding: 5px; */
    margin-left: 3%;
    margin-right: 3%;
}
.journalism-con-A-a{
    width: 100%;
    height: 130px;
    background-color: rgb(255, 255, 255); 
}
.journalism-con-A-a div{
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #ccc;
    padding: 5px;
}
.journalism-con-A-a div h3{
    font-size: 26px;
    color: #004D99; 
    margin-right: 5px;
    text-overflow: ellipsis;
    font-weight: 400;
}
.journalism-con-A-a div p{
    font-size: 15px;
    color: #a3a1a1;
    text-align: center; 
}
.journalism-con-A-a p{
    font-size: 13px;
    color: #666; 
    text-align: left;
    line-height: 1.5;
    margin-top: 5px;
}
.journalism-con-A-a:hover{
    background-color: #004D99;
    color: #ffffff;
}
.journalism-con-A-a:hover h3,
.journalism-con-A-a:hover p{
    color: #ffffff;  
}

/* 新闻动态-右边 */
.journalism-con-B{
    width: 65%;
    height: 550px;
    background-color:#F4F4F4;
}
.journalism-con-B li{
    width: 80%;
    height: 120px;
    background-color: rgb(255, 255, 255);
    border: 1px solid black;
    margin-bottom: 20px;
    list-style: none;
}
.con1{
    display: flex;
    padding: 10px;
    
}
.con1 span{
    text-align: left;
    color: #156AB1;
    font-size: 26px;
}
.con1 p{
    margin-top: 10px;
   font-size: 14px; 
   text-align: left;
   color: #746F7C;
   line-height: 1.5;
}
.con1 .span{
    font-size: 40px;
    font-weight: 800;
    color: #000000;
    text-align: left;
}
.con1 .aa{
    font-size: 14px;
    text-align: left;
}
.journalism-con-B li:hover{
    background-color: #004D99;
    color: #ffffff;
}
/* 确保子元素也能继承白色文字 */
.journalism-con-B li:hover .con1 p,
.journalism-con-B li:hover .con1 span{
    color: white;
}

/* 友情链接 */
.blogroll{
    width: 100%;
    height: 50px;
    display: flex;
    line-height: 50px; 
}
.blogroll h4{
   /* line-height: 50px;  */
   font-size: 20px;
   color: #004D99;
   margin-left: 50px;
}
.blogroll p{
    font-size: 12px;
    color: #979595;
    margin-left: 10px;
}

/* 底部 */
.footer {
    background-color: #1561A9;
    color: white;
    padding: 30px 0;
  }
  
  .footer-content {
    display: flex;
    /* justify-content: space-between; */
    align-items: flex-start;
    max-width: 1000px;
    margin: 0 auto;
  }
  
  .footer-menu {
    width: 100%;
    display: flex;
    /* justify-content: space-between; */
    margin-right: 50px;
  }
  
  .menu-item {
    flex: 1;
    text-align: left;
    background-color: red;
  }
  
  .menu-item h3 {
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 500;
  }
  
  .menu-item ul {
    list-style-type: none;
    padding: 0;
  }
  
  .menu-item li {
    margin-bottom: 5px;
  }
  
  .menu-item a {
    color: white;
    text-decoration: none;
    font-size: 12   px;
  }
  
  .footer-contact {
    width: 30%;
    display: flex;
    align-items: center;
  }
  
  .qr-code {
    width: 100px;
    height: 100px;
    margin-right: 20px;
  }
  
  .contact-info {
    text-align: left;
  }
  
  .footer-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px 0;
    text-align: center;
  }
